package com.titaniume.java1;

import java.io.Serializable;

/**
 * @program: JavaSenior
 * @description:
 * @author: renfei.huang
 * @create: 2021-10-30 10:25
 */
public class Creature<T> implements Serializable {

    private char gender;
    public  double weight;

    private void breath(){
        System.out.println("生物呼吸");
    }

    public void eat(){
        System.out.println("生物吃东西");
    }


}
